[INFO] cloning repository https://github.com/johntehh/tokenized_sports_betting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johntehh/tokenized_sports_betting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohntehh%2Ftokenized_sports_betting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohntehh%2Ftokenized_sports_betting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b1939083f3b833734cae31b1b9773bfe5c31cdd
[INFO] testing johntehh/tokenized_sports_betting against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohntehh%2Ftokenized_sports_betting" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johntehh/tokenized_sports_betting
[INFO] finished tweaking git repo https://github.com/johntehh/tokenized_sports_betting
[INFO] tweaked toml for git repo https://github.com/johntehh/tokenized_sports_betting written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johntehh/tokenized_sports_betting on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/johntehh/tokenized_sports_betting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8bb6a2fd943e29b8a209a3f34a87b0d9ceba10679352174927b8c1c346016cb8
[INFO] running `Command { std: "docker" "start" "-a" "8bb6a2fd943e29b8a209a3f34a87b0d9ceba10679352174927b8c1c346016cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bb6a2fd943e29b8a209a3f34a87b0d9ceba10679352174927b8c1c346016cb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bb6a2fd943e29b8a209a3f34a87b0d9ceba10679352174927b8c1c346016cb8", kill_on_drop: false }`
[INFO] [stdout] 8bb6a2fd943e29b8a209a3f34a87b0d9ceba10679352174927b8c1c346016cb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc2b9c51688afdf266a929bb78f4d1b342b886b7930df002d14cf70a593b98f4
[INFO] running `Command { std: "docker" "start" "-a" "fc2b9c51688afdf266a929bb78f4d1b342b886b7930df002d14cf70a593b98f4", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling hashbrown v0.14.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling winnow v0.5.16
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling termcolor v1.3.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling serde_json v1.0.109
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ic-stable-structures v0.5.6
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling ic-cdk-macros v0.8.1
[INFO] [stderr]    Compiling ic-cdk v0.11.3
[INFO] [stderr]    Compiling tokenized_sports_betting v0.1.0 (/opt/rustwide/workdir/src/tokenized_sports_betting)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tokenized_sports_betting/src/lib.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut user_opt = USER_STORAGE.with(|storage| storage.borrow().get(&payload.user_id));
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tokenized_sports_betting/src/lib.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tokenized_sports_betting/src/lib.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/tokenized_sports_betting/src/lib.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn to_bytes(&self) -> std::borrow::Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> {
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/opt/rustwide/target/debug/deps/rustcMLXFzW/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcMLXFzW/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-1a5b8d0b697daabc,libic_cdk-45246feafa90cea4,libic0-88cedc4127ae8e95,libcandid-b84116ecf3c1ccf3,libstacker-213d8f7019cfc2e2,libpsm-e0cd513fdd48084f,liblibc-732af696bdc6a8cb,libhex-28742b4ca144387c,libcrc32fast-a72b5faa4f062e07,libdata_encoding-895f1f4cbdae727d,libserde_bytes-c722512f8c6c982d,libpretty-3cee850357e15392,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libsha2-973ed68139860caf,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-3904ab3b2258413d,libblock_buffer-be38e141c111901c,libcrypto_common-339167435333e108,libgeneric_array-a548462fd27ccc4c,libtypenum-d9cba146b74f4906,libnum_bigint-39c2c7b7d7a44feb,libnum_integer-ec30fc120c3bc7df,libnum_traits-b876f60c413c65ca,libanyhow-1a30bab9c938832b,libnum_enum-6a30405f4087ed06,libbinread-f76a18c9edca5e53,liblazy_static-2bb390fee0230a38,libthiserror-d7452e367a039516,libcodespan_reporting-071a99715a3ab99c,libunicode_width-ff8848b4c91bc42d,libtermcolor-4c24fd4339110c7b,libserde-3c36520c39e75898}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcMLXFzW/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-9e450e9df55709ac/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtokenized_sports_betting.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /opt/rustwide/target/debug/deps/rustcMLXFzW/list:3: ; expected, but got get_bet
[INFO] [stdout]           >>>     canister_query get_bet;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokenized_sports_betting` (lib) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fc2b9c51688afdf266a929bb78f4d1b342b886b7930df002d14cf70a593b98f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc2b9c51688afdf266a929bb78f4d1b342b886b7930df002d14cf70a593b98f4", kill_on_drop: false }`
[INFO] [stdout] fc2b9c51688afdf266a929bb78f4d1b342b886b7930df002d14cf70a593b98f4
